package cn.yitun.chat.yitunservercommonlib.enums.control.push.user;

import cn.yitun.chat.yitunservercommonlib.constant.ActionTypeConstant;

/**
 * 用户信息推送
 * @author yitun
 * @date 2020-06-21
 */
public enum UserPushMethodEnum {

    PUSH_USER_UPDATE("1.2.0001",  "推送用户信息修改", ActionTypeConstant.USER_ACTION_PUSH),

    PUSH_USER_UPDATE_HEAD("1.2.0002",  "推送用户头像修改信息", ActionTypeConstant.USER_ACTION_PUSH),

    PUSH_USER_UPDATE_SIGNATURE("1.2.0003",  "推送用户签名", ActionTypeConstant.USER_ACTION_PUSH),

    PUSH_USER_STATUS("1.2.0004",  "推送用户在先状态变化", ActionTypeConstant.USER_ACTION_PUSH),

    PUSH_USER_INFO("1.2.0007",  "推送用户信息", ActionTypeConstant.USER_ACTION_PUSH),


    ;




    private String method;

    private String action;

    private String name;

    UserPushMethodEnum(String method , String msgString, String action) {
        this.method = method;
        this.name = msgString;
        this.action = action;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getAction() {
        return action;
    }

    public void setAction(String action) {
        this.action = action;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
